<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="xml" version="1.0" encoding="gb2312" omit-xml-declaration="yes" />
	<xsl:template match="/">
		<HTML>
			<BODY>
				<UL>
					<xsl:apply-templates select="//OBJECT[PARAM/@name='local']">
						<xsl:sort select="PARAM[@name='name']/@value" data-type="text" />
					</xsl:apply-templates>
				</UL>
			</BODY>
		</HTML>
	</xsl:template>
	<xsl:template match="OBJECT">
		<LI>
			<OBJECT>
				<xsl:attribute name="type">
					<xsl:text>text/sitemap</xsl:text>
				</xsl:attribute>
				<xsl:apply-templates select="PARAM" />
			</OBJECT>
		</LI>
	</xsl:template>
	<xsl:template match="PARAM">
		<PARAM>
			<xsl:attribute name="name">
				<xsl:value-of select="@name" />
			</xsl:attribute>
			<xsl:attribute name="value">
				<xsl:value-of select="@value" />
			</xsl:attribute>
		</PARAM>
	</xsl:template>
</xsl:stylesheet>